/* Copyright (c) 2010 OFXKit
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#import <Foundation/Foundation.h>
#import "OFXTransaction.h"

@interface OFXLoanTransaction : OFXTransaction {
  NSNumber* escrowFeesAmount;
  NSNumber* escrowInsuranceAmount;
  NSNumber* escrowOtherAmount;
  NSNumber* escrowPMIAmount;
  NSNumber* escrowTaxAmount;
  NSNumber* escrowTotalAmount;
  NSNumber* insuranceOnLoan;
  NSNumber* interestAmount;
  NSNumber* principalAmount;  
}

/**
 * @property escrowFeesAmount
 * @brief Amount of fees set aside in Escrow
 */
@property(retain) NSNumber* escrowFeesAmount;

/**
 * @property escrowInsuranceAmount
 * @brief Amount of insurance set aside in Escrow
 */
@property(retain) NSNumber* escrowInsuranceAmount;

/**
 * @property escrowOtherAmount
 * @brief Amount of other amount set aside in Escrow
 */
@property(retain) NSNumber* escrowOtherAmount;

/**
 * @property escrowPMIAmount
 * @brief Amount of PMI set aside in Escrow
 */
@property(retain) NSNumber* escrowPMIAmount;

/**
 * @property escrowTaxAmount
 * @brief Amount of tax set aside in Escrow
 */
@property(retain) NSNumber* escrowTaxAmount;

/**
 * @property escrowTotalAmount
 * @brief Total amount of payment applied to Escrow
 */
@property(retain) NSNumber* escrowTotalAmount;

/**
 * @property insuranceOnLoan
 * @brief Life, accident, health insurance on loan
 */
@property(retain) NSNumber* insuranceOnLoan;

/**
 * @property interestAmount
 * @brief Amount of payment applied to interest.
 */
@property(retain) NSNumber* interestAmount;

/**
 * @property principalAmount
 * @brief Amount of payment applied to Principal.
 */
@property(retain) NSNumber* principalAmount;

@end
